HighContrast: Improve GtkCalendar drawing
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Aug 2015 08:02:49 +0000 (10:02 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 8 Aug 2015 08:02:49 +0000 (10:02 +0200)
Make days gray that are not in the current month.

https://bugzilla.gnome.org/show_bug.cgi?id=753357

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index 893d0efb481131fe7d7637433e3d2723add2945e..ef3c22d39d24a708859e4c16f3c10cf0acd373c2 100644 (file)
@@ -2079,6 +2079,9 @@ GtkCalendar {
       border-bottom-color: mix($backdrop_borders_color,$backdrop_bg_color,50%);
     }
   }
+
+  &:inconsistent, &:inconsistent:backdrop,
+  &.highlight, &.highlight:backdrop { color: gtkalpha(currentColor, 0.55); }
 }
 
 /***********
index 1d4b653dd19a1ff43e0548fde5709122bbda3bdb..559205d70c9fe8bebd4e69d702b7caa203c3d084 100644 (file)
@@ -2281,6 +2281,8 @@ GtkCalendar {
     GtkCalendar.header:backdrop {
       background-image: linear-gradient(to bottom, #fff);
       border-bottom-color: #c5c5c5; }
+  GtkCalendar:inconsistent, GtkCalendar:inconsistent:backdrop, GtkCalendar.highlight, GtkCalendar.highlight:backdrop {
+    color: alpha(currentColor,0.55); }
 
 /***********
  * Dialogs *